export const getTime = () => {
    const time = new Date();
    const hours = time.getHours();
    if (hours < 9) return "早上";
    else if (hours < 12) return "上午"
    else if (hours < 18) return "下午"
    else return "晚上"
}
// 获取到token
export const GET_TOKEN = () => localStorage.getItem("token");
// 设置token
export const SET_TOKEN = (token: string) => localStorage.setItem("token", token);